package org.jsola.hr.dto;

import org.jsola.core.dto.BaseDTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【考勤打卡】的参数")
@Data
public class AttendPunchDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "经度", example = "")
    @NotNull(message = "经度不能为空")
    private String longitude;

    @ApiModelProperty(notes = "纬度", example = "")
    @NotNull(message = "纬度不能为空")
    private String latitude;

    /** wifi名称. */
    @ApiModelProperty(notes = "wifi名称", example = "")
    private String wifiName;

    /** MAC地址. */
    @ApiModelProperty(notes = "MAC地址", example = "")
    private String macAddr;
    
    /** 打卡序号 */
    @ApiModelProperty(notes = "打卡序号", example = "")
    @NotNull(message = "打卡序号不能为空")
    private String punchNumber;

    @ApiModelProperty(notes = "是否在范围状态：1-是,0-否")
    private Integer rangeState;

}
